#include "Edge.h"
using namespace std;
Edge::Edge()
{

}
Edge::Edge(Node *from, Node *to, double length, int cost)
{
	(*this).from = from;
	(*this).to = to;
	(*this).length = length;
	(*this).cost = cost;
}
void Edge::ACT001_showInfo()
{
	printf("from (%f, %f)", (*this).from->in_lat, (*this).from->in_long);
	printf("to (%f, %f)", (*this).to->in_lat, (*this).to->in_long);
	printf("len=%f", (*this).length);
	printf("cost=%d\n", (*this).cost);
}